package com.own.business.message.center.common.exception;

import com.own.base.BaseResponseCode;
import com.own.business.message.center.common.em.MessageCenterExceptionEnum;
import com.own.component.common.exception.BusinessException;

/**
 * MessageCenterException
 *
 * @author chenxueli
 * @date 2023-11-13 14:53:27
 */
public class MessageCenterException extends BusinessException {

    public MessageCenterException() {
        super(MessageCenterExceptionEnum.DEFAULT);
    }

    public MessageCenterException(String message) {
        super(MessageCenterExceptionEnum.DEFAULT.code(), message);
    }

    public MessageCenterException(String code, String message) {
        super(code, message);
    }

    public MessageCenterException(BaseResponseCode responseCode) {
        super(responseCode);
    }

    public MessageCenterException(BaseResponseCode responseCode, Object... args) {
        super(responseCode, args);
    }

}
